<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.is.util.*" %>
<%@page import="com.fly.model.*" %>
<%@page import="com.fly.control.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<% 
	request.setCharacterEncoding("UTF-8");
	User u = (User)session.getAttribute("user");
	String timeDetail = DateTime.DetailTime();
%>
<body>
	<form action="add_cashier.jsp" method="post">
		条形码：<input type="text" name="barCode" />
		单价：<input type="text" name="singlePrice"/>
		数量：<input type="text" name="nums"/>
		售货人：<input type="text" value="<%=u.getName() %>"/>
		<input type="hidden" name="salerId" value="<%=u.getId() %>"/>
		交易时间：<input type="text" name="time" value="<%=timeDetail %>"/>
		购买人：
		<select name="buyerId">
			<option value="0">默认</option>	
		</select>
		<input type="submit" value="提交"/>
	</form>
	商品信息:
</body>
</html>